//
//  NYSearchViewModel.h
//  Nooryes
//
//  Created by baken on 2020/3/9.
//  Copyright © 2020 MyApp. All rights reserved.
//

#import "BaseViewModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface NYSearchViewModel : BaseViewModel

@property (nonatomic, strong) NSMutableArray *topicArray;

@property (nonatomic, strong) NSMutableArray *userArray;

@property (nonatomic, strong) NSMutableArray *cateroryArray;

@property (nonatomic, strong) NSMutableArray *cateroryTitleArray;

@property (nonatomic, strong) NSMutableArray *articlesArray;

@property (nonatomic, strong) NSString *keys;

@property (nonatomic, strong) NSString *artType;

@property (nonatomic, strong) NSString *topType;

@property (nonatomic, assign) NSInteger articlePage;

@property (nonatomic, assign) NSInteger topicPage;

@property (nonatomic, assign) NSInteger userPage;

@property (nonatomic, assign) CGFloat tableViewHeight;

- (void)getSearchTopicListWithCompletionHandle:(CompletionHandle)complete;

- (void)getSearchUserListWithCompletionHandle:(CompletionHandle)complete;

- (void)getSearchAriticlesWithCompletionHandle:(CompletionHandle)complete;

- (void)getHotTopicListWithCompletionHandle:(CompletionHandle)complete;

- (void)getHotCategoryListWithCompletionHandle:(CompletionHandle)complete;

//- (void)getSearchHistoryListWithCompletionHandle:(CompletionHandle)complete;

@end

NS_ASSUME_NONNULL_END
